﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NullObject
{
    public abstract class Employee
    {
        public abstract void Pay();
        public static readonly Employee NULL = new NullEmployee();


        private class NullEmployee : Employee
        {
            public override void Pay()
            {
                Console.WriteLine("NULL employee pay impl");
            }
        }

    }
}
